package com.aaa.project.service;

import com.aaa.entity.OCart;
import com.aaa.entity.OOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;

import java.security.Principal;
import java.util.List;

/**
 * <p>
 * 购物车 服务类
 * </p>
 *
 * @author zhangxuhui
 * @since 2023-02-01
 */
public interface IOCartService extends IService<OCart> {

    PageInfo getAll(Principal principal, Integer curr, Integer pageSize);

    List<OOrder> getOrderByCode(String code);
}
